package com.im.service.exception;

public class BusinessException extends RuntimeException {
    private String businessCode;

    public BusinessException(ErrorCode errorCode) {
        super(errorCode.getMessage());
        this.businessCode = errorCode.getCode();
    }
}
